<layout name="layout" />

<script src="{$uri}Public/Scripts/PSI/Inventory/InvQueryMainForm.js?dt={$dtFlag}" type="text/javascript"></script>

<script src="{$uri}Public/Scripts/PSI/Goods/GoodsBrandField.js?dt={$dtFlag}" type="text/javascript"></script>

<script>
  Ext.onReady(function () {
    var app = Ext.create("PSI.App", {
      userName: "{$loginUserName}",
      productionName: "{$productionName}",
      appHeaderInfo: { title: "{$title}" }
    });

    app.add(Ext.create("PSI.Inventory.InvQueryMainForm", {
      pExcel: "{$pExcel}"
    }));
  });
</script>
